#ifndef __COURSEINFO_H
#define __COURSEINFO_H

#include <iostream>
#include <list>
using namespace std;

class CourseInfo
{
public:
    CourseInfo();
    CourseInfo(const string &id, const string &name,
               const string &type, const string &lesson);

    void display(void) const;

    void setID(const string &id);
    void setName(const string &name);
    void setType(const string &type);
    void setLesson(const string &teacher);

    const string &getID() const;
    const string &getName() const;
    const string &getType() const;
    const string &getLesson() const;

private:
    string m_id;
    string m_name;
    string m_type;
    string m_lesson;
};

typedef list<CourseInfo> CourseInfoList;

#endif // __COURSEINFO_H
